#ifndef TERRAIN
#define TERRAIN

#include <string>
#include <vector>

#include <database\mysqldatabase.h>

using namespace std;

class model;

class terrain {

  struct item {
    string heightmap;
    int offset_x; 
    int offset_y;
  };

  vector<item> items;
  vector<item>::iterator iitem;

public:

  void addDataSource(string heightmap, int offset_x, int offset_y);
  bool addToDB(model *_model, mysqlDatabase db);
};

#endif